package gameOfLife;

import javax.swing.ImageIcon;

import interfaces.ImageDisplay;

public class ImageDisplayEx implements ImageDisplay {
	ImageIcon c;
	
	/**
	 * Not an image, so false
	 */
	@Override
	public boolean isColor() {
		return false;
	}

	/**
	 * Returns the image field
	 */
	@Override
	public ImageIcon getImage() {
		return c;
	}
	
	/**
	 * Constructor takes an ImageIcon
	 * @param c ImageIcon to be displayed
	 */
	public ImageDisplayEx(ImageIcon c){
		this.c = c;
	}
}
